<template>
    <view class="point-wrapper">
        <view class="point">{{ minPoints }}</view>
        <view class="text">积分</view>
    </view>
</template>

<script>
export default {
    props: {
        minPoints: {
            type: Number,
            default: 0,
        },
    },
}
</script>

<style lang="scss" scoped>
.point-wrapper {
    display: flex;
    align-items: center;
    color: $color-orange-1;

    .point {
        display: flex;
        font-size: 36rpx;
        font-weight: 700;
    }

    .text {
        margin-left: 4rpx;
        margin-top: 2rpx;
        font-size: 24rpx;
    }
}
</style>
